package b.third.impl

import com.lightbend.lagom.scaladsl.api.ServiceLocator
import com.lightbend.lagom.scaladsl.api.ServiceLocator.NoServiceLocator
import com.lightbend.lagom.scaladsl.devmode.LagomDevModeComponents
import com.lightbend.lagom.scaladsl.server.{LagomApplication, LagomApplicationContext, LagomApplicationLoader}

/**
  * Created by lenovo on 2017/1/24.
  */
class C第三方支付ApplicationLoader1 extends LagomApplicationLoader {
  override def loadDevMode(context: LagomApplicationContext): LagomApplication =
    new AC第三方支付Application1(context) with LagomDevModeComponents
  override def load(context: LagomApplicationContext): LagomApplication = new AC第三方支付Application1(context) {
    override def serviceLocator: ServiceLocator = NoServiceLocator
  }
}
